import java.util.LinkedList;
import java.util.Queue;

public class Test {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        System.out.println(binaryTree.isCompleteTree(binaryTree.createTree()));
    }
    public static void main1(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode root = binaryTree.createTree();

        binaryTree.preOrder(root);
        System.out.println();
        binaryTree.inOrder(root);
        System.out.println();
        binaryTree.postOrder(root);
        System.out.println();
        binaryTree.getNode(root);
        System.out.println(binaryTree.node);
        System.out.println(binaryTree.getNode2(root));
        binaryTree.getLeapNode(root);
        System.out.println(binaryTree.leapNode);
        System.out.println(binaryTree.getLeapNode2(root));
        binaryTree.levelOrder(root);
        System.out.println(binaryTree.levelOrder2(root));
    }

}
